//
//  JddQueryLotteryShopInfoOperation.m
//  PlayBall
//
//  Created by zhazhenwang on 2017/3/17.
//
//

#import "JddQueryLotteryShopInfoOperation.h"

@implementation JddQueryLotteryShopInfoOperation

- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder getLotteryShopInfoParameter];
    
    NSData *dataLotteryShopInfo = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];
    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(QueryLotteryShopInfoOperationResult:)
                                                 withObject:dataLotteryShopInfo
                                              waitUntilDone:NO];
}

@end
